import Vue from 'vue'
import Element from 'element-ui'
import locale from 'element-ui/lib/locale/lang/en'
import utils from '@/utils/index'
console.log("utils",utils)
Vue.prototype.$utils = utils
Vue.prototype.$screenWidth = window.innerWidth;
Vue.prototype.$isMobile = window.innerWidth<1000
window.addEventListener('resize', () => {
    Vue.prototype.$screenWidth = window.innerWidth;
    Vue.prototype.$isMobile = window.innerWidth<1000
});
Vue.use(Element, { locale })
